Aqua DiveLog for Palm OS Documentation

Conduit - dive record template

This template is a prototype of your logbook dive pages.

You can use any simple PDL-keyword and reference keywords like:
and the following repeat blocks:
for your template.

navigation block

Headers and footers of dive pages may contaion so called navigation blocks to jump to previous and following dives.
But, of course, the PDL-keywords can be used anywhere in the HTML-document not only within header or footer.
keyword description parameter
<PDL_html_index > reference to logbook index (default caption: index) ref or forceref + all
<PDL_prev_dive_number > reference to previous dive (default caption: previous dive number) ref or forceref + all
<PDL_next_dive_number > reference to next dive (default caption: next dive number) ref or forceref + all

Use the ref or forceref - parameter to define a hyperlink reference.
The difference between ref and forceref is, that ref shows the field, even if there is no vaild hyperlink while forceref will hide the whole field under such conditions.

To add your own text to a refence field, use the prefix and text parameters.

a typical navigation block will look something like:

dive: 1 index dive: 3


HTML-code:

<table cellpadding="10" align="center">
<tr>
  <td>
   <PDL_prev_dive_number forceref prefix="dive: "></PDL_prev>
  </td>
  <td>
   <PDL_html_index forceref></PDL_index>
  </td>
  <td>
   <PDL_next_dive_number forceref prefix="dive: "></PDL_next>
  </td>
</tr>
</table>

basic dive date

Insert the data about your dives by using simple PDL-keyword.

a small subset of allowed keywords:
keyword description parameter
<PDL_dive_number > number of dive in logbook all
<PDL_date > date of dive all
<PDL_time > time the dive started all
<PDL_location > global location of divesite all
<PDL_place > place of divesite all
<PDL_dive_depth > maximal depth of dive all
<PDL_dive_time > duration of dive all
<PDL_dive_rating > rating of dive 1 (worst) ... 5 (best) all
<PDL_buddy > dive buddies all
<PDL_notes > notes all

example:


dive #: 2
location / place
date: 01.01.2001 12:00

dive time: 30 min
max. depth: 30 m


HTML-code:

<b>dive #: <PDL_dive_number>2</PDL_dive_number></b><br>
<b><PDL_location ref>location</PDL_location> / <PDL_place ref>place</PDL_place></b><br>
date: <PDL_date>01.01.2001</PDL_date> <PDL_time>12:00</PDL_time><br>
<br>
dive time: <PDL_dive_time>30 min</PDL_dive_time><br>
max. depth: <PDL_dive_depth>30 m</PDL_dive_depth><br>

Use the ref parameter with the PDL_location and PDL_place keywords to create a hyperlink to the corresponding divesite page.

tank list

The tank list is implmented as a repeat block.
with following keywords:
keyword description parameter
<PDL_tank_gas > gas in tank all
<PDL_tank_in > preassure at start of dive all
<PDL_tank_name > name and type of tank all
<PDL_tank_number > number of tank all
<PDL_tank_out > preassure at end of dive all
<PDL_tank_type > type of tank (steel or aluminium) all
<PDL_tank_volume > volume of tank all

example:




HTML-code:

<!--
<PDL_repeat_tank>
<li> tank <PDL_tank_number>...</PDL_tank_number>: <PDL_tank_gas>...</PDL_tank_gas> </li>
</PDL_repeat_tank>
//-->
<ul>
<PDL_INSERTED>
</PDL_INSERTED>
</ul>

dive schedule

The dive schedule is implmented as a repeat block.
with following keywords:
keyword description parameter
<PDL_schedule_depth > depth of scheduled stop all
<PDL_schedule_gas > gas used at this stop all
<PDL_schedule_runtime > over all runtime all
<PDL_schedule_tanknumber > number of tank used at this stop all
<PDL_schedule_time > duration of this stop all

example:


depth time runtime gas
6 m 20 min 20 min air
3 m 10 min 30 min NTX36


HTML-code:

<table>
<tr>
<td><b>depth</b></td>
<td><b>time</b></td>
<td><b>runtime</b></td>
<td><b>gas</b></td>
</tr>
<!--
<PDL_repeat_schedule>
<tr>
<td><PDL_schedule_depth>6 m</PDL_scheduledepth></td>
<td><PDL_schedule_time>20 min</PDL_schedule_time></td>
<td><PDL_schedule_runtime>20 min</PDL_schedule_runtime></td>
<td><PDL_schedule_gas>air</PDL_schedule_gas></td>
</tr>
</PDL_repeat_schedule>
-->
<PDL_INSERTED>
</PDL_INSERTED>
</table>



Take care to enter the correct filename of your template to the divelog.ini.
keyword description default
LogTemplate path and filename of the loogbook page template LogTemplate = .\template\sample_log.html




conduit documentation index and overview template divesite template